//
//  DisplayAlertViewController.h
//  ALittleReminder
//
//  Created by Lion User on 23/11/2011.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DisplayAlertViewController : UIViewController
// init with an existing alert, can not be nil
- (id)initWithAlert:(AlertManagedObject *)alert;
@property (unsafe_unretained, nonatomic) IBOutlet UITextField *nameTextField;
@property (unsafe_unretained, nonatomic) IBOutlet UIButton *timeButton;
@property (unsafe_unretained, nonatomic) IBOutlet UITextView *noteTextView;
@property (unsafe_unretained, nonatomic) IBOutlet UIImageView *imageView;
- (IBAction)onOk:(id)sender;
- (IBAction)onEdit:(id)sender;

- (IBAction)onOpenTime:(id)sender;
//UITextField delegate for nameTextField
- (BOOL) textFieldShouldReturn:(UITextField*) textField;
@end
